<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html template="../template/template.xhtml"
    xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">

<body>
	
	<!--modal para alterar dados do cliente -->
	
		<p:dialog header="Alterar Segmento:" widgetVar="modalAlterarSegmento" id="modalAlterarSegmento" modal="true" width="550">
			
			<p:messages autoUpdate="true" ></p:messages>
				
				<h:outputLabel value="#{msg.label_nome}"></h:outputLabel><strong>*</strong>  
				<p:inputText id="nome" value="#{segmentoMB.mostrarSegmento.nome}" size="50" ></p:inputText><br></br><br></br>
				
				 <div style="margin-left: 350px;">
					 <p:commandButton id="alterar" action="#{segmentoMB.alterarSegmento}" value="#{msg.btn_alterar}"  />
					 <p:commandButton  value="#{msg.btn_fechar}" onclick="modalAlterarCliente.hide()" process="@form"/><br></br>
				 </div>
			 
		</p:dialog>		
		
	</body>
</html>
